package com.gxc.service.goods.model.entity;

import com.gxc.service.common.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 *
 * @author GongXincheng
 * @date 2019-11-02 12:20:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "pm_product_content")
public class ProductContentEntity extends BaseEntity {

    /**
     * 商品 id
     */
    @Column(name = "prod_id" ,columnDefinition= "bigint" )
    private Long prodId;

    /**
     * 图文详情
     */
    @Column(name = "content" ,columnDefinition= "longtext" )
    private String content;

}
